package com.quan.aweb.controller;

import com.quan.aweb.entity.User;
import com.quan.aweb.interfaces.jucInterface;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping(value = "/juc")
public class jucController {
    @Autowired
    private jucInterface jucInterface;

    /**
     * http://localhost:8089/aweb/juc/test
     */
    @RequestMapping(value = "/test")
    void test() {
        jucInterface.testNewThread();
    }
}
